Skip to main content
This benchmark suite provides a comprehensive evaluation of PVAC-HFHE’s performance characteristics. The results compare our early proof of concept implementation against production-optimized FHE libraries from OpenFHE.
PVAC-HFHE is currently a research proof of concept without production optimizations. These benchmarks are provided for hypothesis testing, bounty programs, and academic evaluation.

Key findings

Even as an unoptimized proof of concept, PVAC-HFHE demonstrates significant performance advantages for scalar arithmetic operations:

Performance advantages

Scalar operations

Multiplication (ct × ct):
  • PVAC-HFHE: 2.47 ms
  • BFV shallow: 7.23 ms (2.9x slower)
  • BFV leveled: 18.28 ms (7.4x slower)
  • BGV: 17.61 ms (7.1x slower)
  • CKKS: 35.23 ms (14.3x slower)
Addition (ct + ct):
  • PVAC-HFHE: 0.012 ms
  • BFV: 0.124 ms (10x slower)
  • BGV: 0.552 ms (46x slower)
  • CKKS: 1.050 ms (87x slower)

Ciphertext size

Fresh ciphertext sizes demonstrate PVAC-HFHE’s efficiency:
PVAC-HFHE works with arbitrary uint64 values, while BFV requires NTT-friendly primes (p-1 divisible by 2×ring_dim).

Proof of concept limitations

These limitations are specific to the current PoC implementation and are primarily due to unoptimized code paths and debugging systems.

Deep circuit performance

At shallow depths (d=1, d=2), PVAC-HFHE maintains its performance advantage. However, the PoC exhibits exponential degradation at deeper circuit depths, while RLWE schemes maintain near-constant performance through modulus switching:

Ciphertext growth with depth

PVAC-HFHE ciphertext size exceeds BFV leveled at depth 4.

Comparison with bit-level FHE

For 64-bit integer operations, PVAC-HFHE demonstrates dramatic speedups compared to bit-level schemes:

TFHE-rs comparison

While the comparison with bit-level FHE demonstrates significant performance differences, it’s important to note that these schemes solve different problems. Bit-level schemes excel at arbitrary boolean circuits, while PVAC-HFHE is optimized for scalar arithmetic.

Use case recommendations

Based on these benchmarks, PVAC-HFHE (even as a PoC) is well-suited for:
  • Shallow computation circuits (depth 1-2)
  • Scalar arithmetic operations on 64-bit integers
  • Applications requiring small ciphertext sizes
  • Dot products and vector operations
  • Polynomial evaluation (degree ≤ 3)
For deep circuits (depth ≥ 3) or SIMD batch processing, production RLWE schemes currently offer better performance.

Next steps